package cn.yanghx.transaction.study.controller;

import cn.yanghx.transaction.study.service.ITestAService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/test_a/")
public class TestAController {



    @Resource
    private ITestAService testAService;

    @GetMapping("/aaa")
    public  String aaa(){
       return testAService.aaa();
    }

    @GetMapping("/bbb")
    public  String bbb(){
        return testAService.bbb();
    }

    @GetMapping("/ccc")
    public  String ccc(){
        return testAService.ccc();
    }

}
